package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "ExcelImportVO 视图", description = "excel导入结果 视图")
public class ExcelImportVO {
    @ApiModelProperty("数据校验是否通过")
    private Boolean isPass;

    @ApiModelProperty("校验错误信息")
    private String errorMessage;

    /**
     * 街道Id
     */
    @ApiModelProperty(value = "街道Id")
    private String streetId;

    /**
     * 区域id
     */
    @ApiModelProperty(value = "区域id")
    private String distractId;

    /**
     * 社区Id
     */
    @ApiModelProperty(value = "社区Id")
    private String communityId;

    /**
     * 区域名称-行政县
     */
    @ApiModelProperty(value = "区域名称-行政县")
    @Excel(name = "所属区域(必填)", orderNum = "0")
    private String distractName;

    /**
     * 街道-行政镇
     */
    @ApiModelProperty(value = "街道-行政镇")
    @Excel(name = "所属街道", orderNum = "0")
    private String streetName;

    /**
     * 社区-自然村
     */
    @ApiModelProperty(value = "社区-自然村")
    @Excel(name = "所属社区", orderNum = "0")
    private String communityName;
}
